package com.fangzhi.mapper;

import com.fangzhi.mobel.OrderAfter;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fangzhi.mobel.vo.AfterListVo;
import com.fangzhi.mobel.vo.DownloadAfterOrderExcelVo;
import com.fangzhi.mobel.vo.OrderDetailVo;

import java.time.LocalDate;
import java.util.List;

/**
* @author edy
* @description 针对表【order_after】的数据库操作Mapper
* @createDate 2024-09-22 22:17:25
* @Entity com.fangzhi.mobel.OrderAfter
*/
public interface OrderAfterMapper extends BaseMapper<OrderAfter> {

    List<OrderDetailVo.Afters> queryAftersList(String orderId);

    List<AfterListVo> afterList(String orderId, String begin, String end, String beginOrder, String endOrder, String hotelName, Integer offset, Integer pageSize);

    List<DownloadAfterOrderExcelVo> queryAfterOrderExcelList(LocalDate startTime, LocalDate endTime, String hotelName);

    long afterListCount(String orderId, String begin, String end, String beginOrder, String endOrder, String hotelName);
}




